package com.jixiang.tracedata.model.flight;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import com.thoughtworks.xstream.annotations.XStreamImplicit;

import java.io.Serializable;
import java.util.List;

/**
 * @author quanbiao
 * @date 2018-08-30
 */
@XStreamAlias("Leg")
public class Leg implements Serializable {

    private static final long serialVersionUID = 7131601689520658495L;

    /**
     * 航班状态
     */
    @XStreamAsAttribute()
    private String FlightStatus;

    /**
     * 登机口
     */
    @XStreamAsAttribute()
    private String Gate;

    /**
     * 餐食
     */
    @XStreamAsAttribute()
    private String Meal;

    /**
     * GoShow限额
     */
    @XStreamAsAttribute()
    private String GoShowLimt;

    /**
     * 限制值机数
     */
    @XStreamAsAttribute()
    private String CkiLimt;

    /**
     * CI值机初始关闭时间
     */
    @XStreamAsAttribute()
    private String CITime;

    /**
     * CC值机完全关闭时间
     */
    @XStreamAsAttribute()
    private String CCTime;

    @XStreamAlias("Equipment")
    private Equipment Equipment;

    @XStreamAlias("Departure")
    private Departure Departure;

    @XStreamAlias("Arrival")
    private Arrival Arrival;

    @XStreamAlias("HoldInfo")
    private HoldInfo HoldInfo;

    @XStreamImplicit(itemFieldName="CNFNum")
    private List<CNFNum> CNFNumList;

    @XStreamImplicit(itemFieldName="CAPNum")
    private List<CAPNum> CAPNumList;

    @XStreamImplicit(itemFieldName="AVNum")
    private List<AVNum> AVNumList;

    @XStreamAsAttribute()
    private String Configuration;

    @XStreamAsAttribute()
    private String Distance;

    @XStreamAsAttribute()
    private String MealCode;

    @XStreamAsAttribute()
    private String CodeShareType;

    @XStreamAlias("ScheduledDeparture")
    private ScheduledDeparture ScheduledDeparture;

    @XStreamAlias("ScheduledArrival")
    private ScheduledArrival ScheduledArrival;

    public String getFlightStatus() {
        return FlightStatus;
    }

    public void setFlightStatus(String flightStatus) {
        FlightStatus = flightStatus;
    }

    public String getGate() {
        return Gate;
    }

    public void setGate(String gate) {
        Gate = gate;
    }

    public String getMeal() {
        return Meal;
    }

    public void setMeal(String meal) {
        Meal = meal;
    }

    public String getGoShowLimt() {
        return GoShowLimt;
    }

    public void setGoShowLimt(String goShowLimt) {
        GoShowLimt = goShowLimt;
    }

    public String getCkiLimt() {
        return CkiLimt;
    }

    public void setCkiLimt(String ckiLimt) {
        CkiLimt = ckiLimt;
    }

    public String getCITime() {
        return CITime;
    }

    public void setCITime(String CITime) {
        this.CITime = CITime;
    }

    public String getCCTime() {
        return CCTime;
    }

    public void setCCTime(String CCTime) {
        this.CCTime = CCTime;
    }

    public com.jixiang.tracedata.model.flight.Equipment getEquipment() {
        return Equipment;
    }

    public void setEquipment(com.jixiang.tracedata.model.flight.Equipment equipment) {
        Equipment = equipment;
    }

    public com.jixiang.tracedata.model.flight.Departure getDeparture() {
        return Departure;
    }

    public void setDeparture(com.jixiang.tracedata.model.flight.Departure departure) {
        Departure = departure;
    }

    public com.jixiang.tracedata.model.flight.Arrival getArrival() {
        return Arrival;
    }

    public void setArrival(com.jixiang.tracedata.model.flight.Arrival arrival) {
        Arrival = arrival;
    }

    public com.jixiang.tracedata.model.flight.HoldInfo getHoldInfo() {
        return HoldInfo;
    }

    public void setHoldInfo(com.jixiang.tracedata.model.flight.HoldInfo holdInfo) {
        HoldInfo = holdInfo;
    }

    public List<CNFNum> getCNFNumList() {
        return CNFNumList;
    }

    public void setCNFNumList(List<CNFNum> CNFNumList) {
        this.CNFNumList = CNFNumList;
    }

    public List<CAPNum> getCAPNumList() {
        return CAPNumList;
    }

    public void setCAPNumList(List<CAPNum> CAPNumList) {
        this.CAPNumList = CAPNumList;
    }

    public List<AVNum> getAVNumList() {
        return AVNumList;
    }

    public void setAVNumList(List<AVNum> AVNumList) {
        this.AVNumList = AVNumList;
    }

    public String getConfiguration() {
        return Configuration;
    }

    public void setConfiguration(String configuration) {
        Configuration = configuration;
    }

    public String getDistance() {
        return Distance;
    }

    public void setDistance(String distance) {
        Distance = distance;
    }

    public String getMealCode() {
        return MealCode;
    }

    public void setMealCode(String mealCode) {
        MealCode = mealCode;
    }

    public String getCodeShareType() {
        return CodeShareType;
    }

    public void setCodeShareType(String codeShareType) {
        CodeShareType = codeShareType;
    }

    public com.jixiang.tracedata.model.flight.ScheduledDeparture getScheduledDeparture() {
        return ScheduledDeparture;
    }

    public void setScheduledDeparture(com.jixiang.tracedata.model.flight.ScheduledDeparture scheduledDeparture) {
        ScheduledDeparture = scheduledDeparture;
    }

    public com.jixiang.tracedata.model.flight.ScheduledArrival getScheduledArrival() {
        return ScheduledArrival;
    }

    public void setScheduledArrival(com.jixiang.tracedata.model.flight.ScheduledArrival scheduledArrival) {
        ScheduledArrival = scheduledArrival;
    }
}
